package net.dgg.dggcloud.service.jrcrm.entity.cms;

import net.dgg.dggcloud.service.entity.BaseEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.util.Date;

/**
 * @ClassName: Marketing
 * @Description: 营销活动实体
 * @author 钟鑫
 * @Date: 2017年11月22日 17:39:06
 */
@Entity
@Table(name = "cms_marketing")
public class Marketing extends BaseEntity{

    /**
     * 活动编号
     */
    @Column(name = "no")
    private String no;

    /**
     * 活动名称
     */
    @Column(name = "name")
    private String name;

    /**
     * 状态（已发布，未发布）
     */
    @Column(name = "marketing_status")
    private String marketingStatus;

    /**
     * 发布人id
     */
    @Column(name = "publisher_id")
    private Long publisherId;

    /**
     * 发布人姓名
     */
    @Column(name = "publisher_name")
    private String publisherName;

    /**
     * 发布时间
     */
    @Column(name = "publish_date")
    private Date publishDate;

    /**
     * 活动时间
     */
    @Column(name = "marketing_date")
    private String marketingDate;

    /**
     * 活动内容
     */
    @Column(name = "content")
    private String content;

    public String getNo() {
        return no;
    }

    public void setNo(String no) {
        this.no = no;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getMarketingStatus() {
        return marketingStatus;
    }

    public void setMarketingStatus(String marketingStatus) {
        this.marketingStatus = marketingStatus;
    }

    public Long getPublisherId() {
        return publisherId;
    }

    public void setPublisherId(Long publisherId) {
        this.publisherId = publisherId;
    }

    public String getPublisherName() {
        return publisherName;
    }

    public void setPublisherName(String publisherName) {
        this.publisherName = publisherName;
    }

    public Date getPublishDate() {
        return publishDate;
    }

    public void setPublishDate(Date publishDate) {
        this.publishDate = publishDate;
    }

    public String getMarketingDate() {
        return marketingDate;
    }

    public void setMarketingDate(String marketingDate) {
        this.marketingDate = marketingDate;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }
}
